<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/res/css/admin.css" media="all">
    <link rel="stylesheet" href="/html/main/config/lib/main.css" media="all">
</head>

<body>
    <div id="layui-body-content" class="layui-fluid">
        <div class="layui-card">
            <div class="layui-form layui-card-header layuiadmin-card-header-auto">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <div class="layui-unselect layui-form-select" lay-filter="scene-select"
                            id="scene-select">
                            <div class="layui-select-title">
                                <input type="text" placeholder="关键字" value="用户名" readonly=""
                                    class="layui-input layui-unselect">
                                <i class="layui-edge"></i>
                                <input type="hidden" id="InputValue" value="username" class="layui-hide">
                            </div>
                            <!-- 下拉内容框 -->
                            <script id="Scene-dropdown" type="text/html">
                                <div class="layui-select-content">
                                    <dl class="layui-anim layui-anim-upbit layui-select-body">
                                        <dd lay-value="username" class="layui-this">用户名</dd>
                                        <dd lay-value="truename">真实姓名</dd>
                                        <dd lay-value="deptname">单位名称</dd>
                                    </dl>
                                </div>
                            </script>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-inline">
                            <input type="text" id="searchKeyword" placeholder="请输入关键字" autocomplete="off"
                                class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <button class="layui-btn layuiadmin-btn-users-list  layui-btn-sm" data-type="Yjsearch">
                            <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>查询
                        </button>
                        <button id="add" style="display: none;"
                            class="layui-btn layui-btn-sm layui-btn-normal  open-popup" data-size="900,650"
                            data-url="yj_system_users_add.html" data-caozuo="add" title="添加">
                            <i class="layui-icon layui-icon-add-circle layuiadmin-button-btn"></i>添加
                        </button>
                        <button class="layui-btn layui-btn-sm layuiadmin-btn-users-list layui-btn-danger"
                            data-type="Yjbatchdel">
                            <i class="layui-icon layui-icon-delete layuiadmin-button-btn"></i>批量删除
                        </button>
                    </div>
                </div>
            </div>
            <div class="layui-card-body">
                <table id="LAY-app-users-list" lay-filter="LAY-app-users-list"></table>
                <script type="text/html" id="tablerole">
                    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="JieSuo"><i class="layui-icon layui-icon-ok"></i>解锁</a>
                    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="select"><i class="layui-icon layui-icon-group"></i>用户角色</a>
                    <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="ResetPWD"><i class="layui-icon layui-icon-refresh"></i>重置密码</a>
                </script>
                <script id="LAY-app-users-toolbar" type="text/html">
                    <a style=" cursor: pointer;" class="layui-btn-xs" lay-filter="cz{{d.id}}" lay-dropdown="{align:'right', menus: [{layIcon: 'layui-icon-file-b', txt: '详情', event:'{{d.id}}-detail'},{layIcon:'layui-icon-edit',txt: '编辑', event:'{{d.id}}-edit'}, {layIcon: 'layui-icon-delete',txt: '删除', event:'{{d.id}}-del'}]}">
                        <span>操作</span>
                        <i class="layui-icon layui-icon-triangle-d"></i>
                    </a> 
                </script>
            </div>
        </div>
    </div>

    <script src="/layui/layui.js"></script>
    <script>
        layui.use('yj_system_users', function () {
            //配置本级路径，方便Popup路径简写
            layui.yj_system_users.setRootPath('system/users');
        });
    </script>
</body>

</html>